package com.chunxiadong.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 * @auther QiuShangcheng
 * @create 2021/6/6
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
/*用户*/
public class User {
    private Integer id;
    private String nickname;
    private String username;
    private String password;
    private String email;
    private String QQ;
    private String avatarAddr;//头像
    private Integer type;
    private Date createTime;
    private String updateTime;
    private List<Blog> blogList;//持有的博客
}
